package com.qf.ssm.mapper;

import com.qf.ssm.po.CarType;
import com.qf.ssm.qo.CarTypeQo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CarTypeMapper {
    Integer insertCarType(@Param("carType") CarType carType);

    List<CarType> selectCarTypeList(@Param("carTypeQo")CarTypeQo carTypeQo);

    Integer updateCarTypeById(@Param("tid")Integer tid,@Param("carType")CarType carType);

    Integer deleteCarTypeById(@Param("tid")Integer tid);

    CarType selectCarTypeById(@Param("tid")Integer tid);
}
